<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="../dist/style/css/base.css">
    <script>
        var deviceWidth = document.documentElement.clientWidth;
        if (deviceWidth > 640) deviceWidth = 640;
        document.documentElement.style.fontSize = deviceWidth / 7.5 + 'px';
    </script>
</head>

<body>

    <div class="warp h">
        <!--header-->
        <header class="hd br">
            <a href="#123" class="l-icon only-icon">
            <i class="iconfont icon-left1"></i>      
        </a>
            <p class="tit2">
                绑定银行卡
            </p>

        </header>
       
        <div class="card-box">
            <a href="#123" class="a_box">
                <div class="cont">
                    <i class="iconfont icon-yinxingqiaguanli"></i>
                    <!--<i class="iconfont icon-huanyihuan"></i>-->
                    <div class="msg">
                        <p class="txt_1">建设银行</p>
                        <p class="txt_2">王小二</p>
                        <p class="num txt_3">6228 **** **** 2356</p>
                    </div>
                    
                </div>
            </a>
            <a href="#123" class="huanyihuan-btn">
                <i class="iconfont icon-huanyihuan"></i>
                更换
                </a>
        </div>

       
        <div class="card-box">
            <a href="#123" class="a_box">
                <div class="cont">
                    <i class="iconfont icon-yinxingqiaguanli"></i>
                    <!--<i class="iconfont icon-huanyihuan"></i>-->
                    <div class="msg">
                        <p class="txt_1">建设银行</p>
                        <p class="txt_2">王小二</p>
                        <p class="num txt_3">6228 **** **** 2356</p>
                    </div>
                    
                </div>
            </a>
            <a href="#123" class="huanyihuan-btn">
                <i class="iconfont icon-huanyihuan"></i>
                更换
                </a>
        </div>
               
        <div class="card-box">
            <a href="#123" class="a_box">
                <div class="cont">
                    <i class="iconfont icon-yinxingqiaguanli"></i>
                    <!--<i class="iconfont icon-huanyihuan"></i>-->
                    <div class="msg">
                        <p class="txt_1">建设银行</p>
                        <p class="txt_2">王小二</p>
                        <p class="num txt_3">6228 **** **** 2356</p>
                    </div>
                    
                </div>
            </a>
            <a href="#123" class="huanyihuan-btn">
                <i class="iconfont icon-huanyihuan"></i>
                更换
                </a>
        </div>

    </div>

    <script src="../dist/js/base.js"></script>

    <script>
        // 矫正rem
        function correctrem() {
            var rem_full_width = $("<div id='rem-test' style='width:7.5rem'></div>").appendTo($('body')).width();
            var device_width = Math.min(document.documentElement.clientWidth, 640);
            if (rem_full_width !== device_width) {
                document.documentElement.style.fontSize = (device_width / 7.5) * (device_width / rem_full_width) + 'px';
            }
            $('#rem-test').remove();
        }
        correctrem();
    </script>

</body>

</html>